package com.backpackerxl.blog.dao;

import com.backpackerxl.blog.model.Views;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Author by：Backpackersxl
 * Date: 2021/5/5/005
 * Time: 17:46
 **/
public interface ViewsRepository extends JpaRepository<Views, Long> {
    Views findByIpAndBlogId(String ip, Long blogId);
}
